package com.rnkrsoft.suyan.config.server.services.guide.domains;

import lombok.Data;

import javax.doc.annotation.ApidocElement;
import javax.doc.data.Response;
import java.util.ArrayList;
import java.util.List;

/**
 * Created by woate on 2019/6/22.
 */
@Data
public class FetchParamResponse extends Response {
    @ApidocElement("记录列表")
    final List<FetchParamRecord> records = new ArrayList();

    public FetchParamResponse addRecord(FetchParamRecord record){
        records.add(record);
        return this;
    }
}
